<%--
  Created by IntelliJ IDEA.
  User: FT
  Date: 2020/9/17
  Time: 15:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>添加用户</title>
    <style>
        body{
            background-image: url("/img/background.jpg");
            background-size: 100% 100%;
        }
        .box{
            width: 40%;
            margin: 5% auto;
        }
        label{
            margin-top: 2%;
            margin-left: 10%;
            display: inline-block;
            width: 38px;
        }
        .add{
            margin-left: 10%;
            margin-bottom: 2%;
            width: 60px;
            height: 30px;
        }
        .add:hover{
            background-color: red;
        }
    </style>
</head>
<body>
    <div class="box">
        <form action="${pageContext.request.contextPath}/user/add" method="post">
            <label>姓名</label>
            <input type="text" name="name" placeholder="请输入您的姓名"> &nbsp;&nbsp;&nbsp;
            <label>密码</label>
            <input type="password" name="password" placeholder="请输入您的密码"><br><br>
            <label>年龄</label>
            <input type="text" name="age" placeholder="请输入您的年龄">&nbsp;&nbsp;&nbsp;
            <label>性别</label>
            <input type="radio" name="sex" value="1">男
            <input type="radio" name="sex" value="0">女<br><br>
            <label>工资</label>
            <input type="text" name="salary">&nbsp;&nbsp;&nbsp;
            <label>生日</label>
            <input type="date" name="birth"><br><br>
            <input class="add" type="submit" value="添加">
        </form>
    </div>
</body>
</html>
